package com.rico.common.utils;

/**
 * @author 吴泽胜
 * @FileName IsNotEmptyUtil
 * @date 2021-04-23 10:18 上午
 * @Software: IntelliJ IDEA
 */
public class IsNotEmptyUtil {
    public static boolean isEmpty(Object object) {
        if (object == null) {
            return (true);
        }
        if ("".equals(object)) {
            return (true);
        }
        if ("null".equals(object)) {
            return (true);
        }
        return (false);
    }

    public static boolean isNotEmpty(Object object) {
        if (object != null && !object.equals("") && !object.equals("null")) {
            return (true);
        }
        return (false);
    }
}
